package com.zhu.serviceImpl;

import java.util.List;

import com.zhu.bean.Student;
import com.zhu.dao.StudentDao;
import com.zhu.service.StudentService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {
    @Autowired
    private StudentDao studentDao;

    public List<Student> findall() {

        return studentDao.findall();
    }

}